package com.ad.pet.models.remote.cart;

import java.io.Serializable;
import java.util.List;

/**
 * 下单的最终结果
 * Created by SEELE on 2018/5/3.
 */

public class Order implements Serializable {
    //    cart_p_note[] 商品备注
//    cart_id[] 购物车商品ID
//    select_area 区域ID
//    use_coupon 是否使用
//    coupon_num 使用优惠券序列号
//    coupon_money 优惠券面值
//    u_a_country:
//    u_a_id:
//    act 处理方法固定：cart_to_check
//    addressid 选择收货国家u_a_id
//    p_shipping_total 国内运费
//    p_total 支付金额
//    discount 折扣，默认0
    private List<String> cart_p_note;
    private List<String> cart_id;
    private String select_area;
    private String use_coupon;
    private String coupon_money;
    private String act;
    private String addressid;
    private String p_shipping_total;
    private String p_total;
    private String discount;
    private String coupon_num;

    public String getCoupon_num() {
        return coupon_num;
    }

    public void setCoupon_num(String coupon_num) {
        this.coupon_num = coupon_num;
    }

    public Order(List<String> cart_p_note, List<String> cart_id, String select_area, String use_coupon, String coupon_money, String act, String addressid, String p_shipping_total, String p_total, String discount) {
        this.cart_p_note = cart_p_note;
        this.cart_id = cart_id;
        this.select_area = select_area;
        this.use_coupon = use_coupon;
        this.coupon_money = coupon_money;
        this.act = act;
        this.addressid = addressid;
        this.p_shipping_total = p_shipping_total;
        this.p_total = p_total;
        this.discount = discount;
    }

    public List<String> getCart_p_note() {
        return cart_p_note;
    }

    public void setCart_p_note(List<String> cart_p_note) {
        this.cart_p_note = cart_p_note;
    }

    public List<String> getCart_id() {
        return cart_id;
    }

    public void setCart_id(List<String> cart_id) {
        this.cart_id = cart_id;
    }

    public String getSelect_area() {
        return select_area;
    }

    public void setSelect_area(String select_area) {
        this.select_area = select_area;
    }

    public String getUse_coupon() {
        return use_coupon;
    }

    public void setUse_coupon(String use_coupon) {
        this.use_coupon = use_coupon;
    }

    public String getCoupon_money() {
        return coupon_money;
    }

    public void setCoupon_money(String coupon_money) {
        this.coupon_money = coupon_money;
    }


    public String getAct() {
        return act;
    }

    public void setAct(String act) {
        this.act = act;
    }

    public String getAddressid() {
        return addressid;
    }

    public void setAddressid(String addressid) {
        this.addressid = addressid;
    }

    public String getP_shipping_total() {
        return p_shipping_total;
    }

    public void setP_shipping_total(String p_shipping_total) {
        this.p_shipping_total = p_shipping_total;
    }

    public String getP_total() {
        return p_total;
    }

    public void setP_total(String p_total) {
        this.p_total = p_total;
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount;
    }

    @Override
    public String toString() {
        return "Order{" +
                "cart_p_note=" + cart_p_note +
                ", cart_id=" + cart_id +
                ", select_area='" + select_area + '\'' +
                ", use_coupon='" + use_coupon + '\'' +
                ", coupon_money='" + coupon_money + '\'' +
                ", act='" + act + '\'' +
                ", addressid='" + addressid + '\'' +
                ", p_shipping_total='" + p_shipping_total + '\'' +
                ", p_total='" + p_total + '\'' +
                ", discount='" + discount + '\'' +
                '}';
    }
}
